<template>
	<view class="centxtx">
		<rich-text :nodes="text.content"></rich-text>
	</view>
</template>

<script>
	import {
		updateStatus //消息列表
	} from "../../request/api.js"
	export default {
		data() {
			return {
				class: [],
				ids: [],
				text: ''
			}
		},
		onLoad() {
			// this.text = getApp().globalData.informationdetails
			// console.log(this.text);
		},
		onShow() {
			this.text = getApp().globalData.informationdetails
			this.messagepagea()
		},
		methods: {
			messagepagea() {
				updateStatus({
					messageId: this.text.id,
				}).then(res => {
					console.log(res);
				})
			},

		}
	}
</script>

<style lang="scss" scoped>
	.centxtx {
		height: 100vh;
		background-color: #fafafa;
		padding-top: 20rpx;
		padding: 20rpx 24rpx 0;
	}
</style>